const { defineConfig } = require('@vue/cli-service')
const path = require('path')

module.exports = defineConfig({

    pluginOptions: {
        'style-resources-loader': {
            preProcessor: 'less',
            // 引入需要全局加载的 less 文件
            // patterns: (__dirname, './src/less/index.less'),
            patterns:[
                path.resolve(__dirname, './src/less/global.less')
            ]
        },
    },
    transpileDependencies: true,
    lintOnSave: false  //关闭语法输入


})